package com.example.api;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")

public class HelloApi {
    public static final Logger log = LoggerFactory.getLogger(HelloApi.class);
    @GetMapping(value = "hello")
    public String hello() {
        log.info("hello");
        System.out.println("hello");
        return "hello 10000";
    }
}
